package com.example.park2212.emp

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.lib_base.entity.EmpBean
import com.example.lib_base.entity.EmpBeanItem
import com.example.park2212.R

class EmpAdapter:BaseQuickAdapter<EmpBeanItem,BaseViewHolder>(R.layout.item_emp) {
    override fun convert(helper: BaseViewHolder, item: EmpBeanItem) {
        helper.setText(R.id.emp_name,item.name)
        helper.setText(R.id.emp_email,item.email)
        helper.setText(R.id.emp_depark,item.departName)
    }
}